class Animal:
    def speak(self):
        pass

class Dog:
    def speak(self):
        print('wwwwwww')

class Cat:
    def speak(self):
        print('mmmmmmmm')

def make_noicse(annimal):
    annimal.speak()

dog = Dog()
cat = Cat()

make_noicse(cat)